export class CourseHomeData {
  code: number;
  msg: string;
  body: Body;
  tm: number;
};

export class Body {
  location: string;
  type: string;
  body: Array<BodyDTO>;
};

export class BodyDTO {
  type: string;
  children: Array<Children>;
  style: string;
  width: number;
  height: number;
  marginTop: number;
  marginBottom: number;
  marginLeft: number;
  marginRight: number;
  radius: number;
  bgColor: string;
  iconUrl:string
  panelName:string
  moreLabel:string
  isShowMore:string
  moreUrl:string
};

export class Children {
  id: string;
  ctm: number;
  mtm: number;
  caid: string;
  cuid: string;
  maid: string;
  muid: string;
  deptid?: any;
  jobid?: any;
  status: number;
  test: number;
  carouselName: string;
  linkUrl: string;
  naviName:string;
  imgUrl: string;
  showPos: string;
  bgColor?: any;
  startTm: number;
  endTm: number;
  weight: number;
  ios: number;
  android: number;
  coverWidth:number;
  coverHeight:number;
  title: string;
  subTitle: string;
  url: string;
  cover: string;
  authUid: string;
  authName: string;
  authTitle: string;
  authAvatar: string;
  displayStyle: string;
  worth: number;
  price: number;
  cost: number;
  beginTm: number;
  pv: number;
  uv: number;
  duration: number;
  worthLabel: string;
  priceStr: string;
  costLabel: string;
  courseId: string;
  courseName: string;
  attend: string;
  application: string;
  jumpUrl: string;
  source: string;
  tagList:Array<TagListDTO>;
  attending: string;
  introduce: string;
  productName: string;
  type: string;
  channel: string;
  articleColumn: string;
  tags: string;
  content: string;
  author: string;
  coverimg: string;
  viewCount: number;
  agreeCount: number;
  auditRes: string;
  allowComment: number;
  contentType: string;
  top: number;
  orderWeight: number;
  publishTime: string;
  editTime: string;
  desctiption: string;
  width: number;
  height: number;
};

export  class TagListDTO{
  color:string;
  label:string;
  itemCode:string;
}


